<!--
 * @Description: 通用创客绑定页面
 * @Author: Kerwin
 * @Date: 2023-06-14 11:31:39
 * @LastEditTime: 2024-10-22 16:45:54
 * @LastEditors:  Please set LastEditors
-->
<!-- eslint-disable @typescript-eslint/no-unused-vars -->
<script setup lang="ts">
import { reactive, ref } from 'vue'
import { onLoad, onReachBottom } from '@dcloudio/uni-app'
import { storeToRefs } from 'pinia'
import { couponApi, productApi } from '@/api'
import { dateFormat } from '@/utils/index'
import { useUserStore } from '@/store'

const store = useUserStore()
const { userInfo } = storeToRefs(store)

const inviteCode = ref()
const companyName = ref()
const onBind = () => {
  
}
const onCancel = () => {
  uni.switchTab({
    url: '/pages/shortVideo/index'
  })
}
onLoad((option) => {
})
onReachBottom(() => {
})
</script>
<template>
  <view class="container">
    <view class="welc">
      您正在接受邀请绑定为 {{ companyName }} 的创客
    </view>
    <view class="info">
      邀请人/邀请码： {{ inviteCode }}
    </view>
    <view class="btn">
      <u-button type="primary" @click="onBind">确认</u-button>
      <view class="cancel" @click="onCancel">取消</view>
    </view>
  </view>
</template>

<style lang="scss" scoped></style>
